html,
body {
  height: 100%;
  background-color: #fff;
}

ul,
ol,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fl-x {
  display: flex;
}

.fl-y {
  display: flex;
  flex-direction: column;
}

.lt-layout {
  max-width: 640px;
  min-width: 320px;
  height: 100%;
  // border: 1px solid red;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.lt-header {
  height: 45px;
  background-color: #069;

  a {
    width: 45px;
    height: 45px;
    color: #fff;
    text-align: center;
    line-height: 45px;
  }

  h4 {
    flex: 1;
    margin: 0;
    text-align: center;
    line-height: 45px;
    color: #fff;
    font-weight: normal;
  }
}

.lt-main {
  flex: 1;
  position: relative;

  .main-nav {
    padding: 5px;

    li {
      float: left;
      width: 33.33%;

      img {
        width: 100%;
        display: block;
      }
    }
  }

  // 商品模块
  .lt-product {
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    .item {
      width: 48%;
      padding: 5px;
      text-align: center;
      border: 1px solid #ccc;
      margin-bottom: 10px;

      img {
        width: 100%;
      }

      .new {
        color: red;
      }

      .old {
        text-decoration: line-through;
      }
    }
  }
}

.lt-footer {
  height: 50px;
  background-color: #069;

  ul {
    li {
      padding-top: 5px;
      flex: 1;
      text-align: center;

      a {
        color: #fff;

        p {
          color: #fff;
          margin-bottom: 0;
        }
      }
    }

    li.current {
      a {
        color: #daa520;

        p {
          color: #daa520;
        }
      }
    }
  }
}